package com.tzb.ssm.service.admin.impl;

import com.tzb.ssm.dao.admin.UserDao;
import com.tzb.ssm.entity.admin.User;
import com.tzb.ssm.service.admin.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description TODO
 * @Author tzb
 * @Date 2021/6/5 18:48
 * @Version 1.0
 **/
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User findByUsername(String username) {
        return userDao.findByUsername(username);
    }
}
